import request from '@/utils/request'

export function getsafeconfig (params) {
  return request({
    url: '/back/safeconfig/getById',
    method: 'post',
    data: params
  })
}

export function updatesafeconfig (params) {
  return request({
    url: '/back/safeconfig/saveOrUpdate',
    method: 'post',
    data: params
  })
}